package com.ruoyi.tranShort.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 排班明细对象 short_scheduling_detail
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public class ShortSchedulingDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 排班日期表id */
    @Excel(name = "排班日期表id")
    private Long schedulingDateId;

    /** 开始时间段 */
    @Excel(name = "开始时间段")
    private String startTimeQuantum;

    /** 结束时间段 */
    @Excel(name = "结束时间段")
    private String endTimeQuantum;

    /** 哨位id */
    @Excel(name = "哨位id")
    private Long sentryPostId;
    /**
     * person
     */
    private List<ShortPerson> shortPersonList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchedulingDateId(Long schedulingDateId) 
    {
        this.schedulingDateId = schedulingDateId;
    }

    public Long getSchedulingDateId() 
    {
        return schedulingDateId;
    }

    public String getStartTimeQuantum() {
        return startTimeQuantum;
    }

    public void setStartTimeQuantum(String startTimeQuantum) {
        this.startTimeQuantum = startTimeQuantum;
    }

    public String getEndTimeQuantum() {
        return endTimeQuantum;
    }

    public void setEndTimeQuantum(String endTimeQuantum) {
        this.endTimeQuantum = endTimeQuantum;
    }

    public void setSentryPostId(Long sentryPostId)
    {
        this.sentryPostId = sentryPostId;
    }

    public Long getSentryPostId() 
    {
        return sentryPostId;
    }

    public List<ShortPerson> getShortPersonList() {
        return shortPersonList;
    }

    public void setShortPersonList(List<ShortPerson> shortPersonList) {
        this.shortPersonList = shortPersonList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulingDateId", getSchedulingDateId())
            .append("startTimeQuantum", getStartTimeQuantum())
            .append("endTimeQuantum", getEndTimeQuantum())
            .append("sentryPostId", getSentryPostId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
